/**
 * @filename:ScanService Apr 3, 2024
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.Scan;
import com.wonder.app.request.ScanRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
/**   
 * @Description:TODO(追溯码服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface ScanService extends IService<Scan> {

    
    /**
     * 验证追溯码信息
     * 
     * @param scan
     * @param type
     * @return 结果
     */
    public String validate(Scan scan,String type);   
   
	
	 /**
	 * Description:追溯码分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<Scan>   //分页记录
	 */
    public IPage<Scan> selectList(ScanRequest request, Page<Scan> page);


	/**
	 * 追溯码绑定订单号
	 * @param idList
	 * @param taskBillNo
	 * @return
	 */
	Boolean binding(List<Long> idList, String taskBillNo);
}
